<template>
  <div>
    <van-card
          v-for="(item, i) of orderlist1"
          :key="i"
          :num="item.count"
          :price="item.gprice"
          :desc="item.details"
          :title="item.gtitle"
          :thumb="`${baseURL}/jd_card/goods/${item.gpic}`"
        >
          <template #tags>
            <van-tag plain type="danger">七天无理由退货</van-tag>
          </template>
          <template #footer>
            <van-button
              v-show="item.status == 2 || item.status == 3"
              size="mini"
              style="font-size: 15px"
              >延长收货</van-button
            >
            <van-button
              v-show="item.status == 3"
              size="mini"
              style="font-size: 15px"
              >查看物流</van-button
            >
            <van-button
              v-show="item.status == 2 || item.status == 3"
              size="mini"
              style="font-size: 15px; border: 1px solid red"
              >确定收货</van-button
            >
            <van-button
              v-show="item.status == 4"
              size="mini"
              disabled
              style="font-size: 15px"
              >已签收</van-button
            >
          </template>
        </van-card>
  </div>
</template>